Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.x] Ensure query parameters are retained in pagination links #351

Merged

Conversation

duncanmcclean
Copy link
Member

@duncanmcclean duncanmcclean commented Oct 7, 2023

This pull request fixes the issue that #350 previously tried to fix, where query parameters weren't being retained in the pagination links.

I just needed to move the ->withQueryString() method to the other paginator which seemed to do the trick.

Closes #349.

@duncanmcclean duncanmcclean changed the title Ensure query parameters are retained in pagination links [5.x] Ensure query parameters are retained in pagination links Oct 7, 2023
@duncanmcclean duncanmcclean merged commit 330403a into 5.x Oct 7, 2023
7 of 10 checks passed
@duncanmcclean duncanmcclean deleted the fix/ensure-query-parameters-are-retained-in-pagination branch October 7, 2023 13:21
@duncanmcclean duncanmcclean restored the fix/ensure-query-parameters-are-retained-in-pagination branch October 7, 2023 13:21
@duncanmcclean duncanmcclean deleted the fix/ensure-query-parameters-are-retained-in-pagination branch October 7, 2023 13:21
@github-actions
Copy link

github-actions bot commented Oct 7, 2023

Released as part of v5.3.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

paginate->withQueryString()
1 participant